using System.Diagnostics;
using System.IO;
using OFX.Aggregator.Infrastructure;

namespace OFX.Aggregator.Implementation
{
	public class OpenOFXFileAction : IStatementAction
	{
		#region IStatementAction Members

		public void DoAction(Stream ofxFileStream)
		{
			Process.Start(new ProcessStartInfo(((FileStream) ofxFileStream).Name));
		}

		#endregion
	}
}